<!--
 * @LastEditors: 杜康
 * @LastEditTime: 2021-09-13 13:22:58
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>标签页组件</title>
  <link rel="stylesheet" href="style.css">
</head>

<body>
  <div id="app" v-cloak>
    <tabs v-model="activeKey">
      <pane label="标签一" name="1"></pane>
      <pane label="标签二" name="2"></pane>
      <pane label="标签三" name="3"></pane>
    </tabs>
  </div>
  <script src="https://unpkg.com/vue/dist/vue.min.js"></script>
  <script src="pane.js"></script>
  <script src="tabs.js"></script>
  <script>
    var app = new Vue({
      el: '#app',
      data: {
        activeKey: '1'
      }
    })
  </script>
</body>

</html>